import 'dart:collection';

class ClubModel {
  int? clubId;
  String? clubName;
  String? clubImage;
  String? clubRoleValue;
  String? clubRoleName;
  String? isDefault;

  ClubModel(
      {this.clubId,
      this.clubName,
      this.clubImage,
      this.clubRoleValue,
      this.clubRoleName,
      this.isDefault});

  ClubModel.fromJson(Map<String, dynamic> json) {
    clubId = json['clubId'];
    clubName = json['clubName'];
    clubImage = json['clubImage'];
    clubRoleValue = json['clubRoleValue'];
    clubRoleName = json['clubRoleName'];
    isDefault = json['isDefault'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['clubId'] = clubId;
    data['clubName'] = clubName;
    data['clubImage'] = clubImage;
    data['clubRoleValue'] = clubRoleValue;
    data['clubRoleName'] = clubRoleName;
    data['isDefault'] = isDefault;
    return data;
  }
}